//查用户
const path = require('path');
const shuJuKu = require(path.resolve('moKuai/shuJuKu.js'));

module.exports = async function chaYongHu(qingQiu, xiangYing, jieZhe) {
	if (qingQiu.path == '/chaYongHu') {
		let yongHu = await shuJuKu.chaYongHu();
		xiangYing.append('content-type', 'application/json');
		xiangYing.send(JSON.stringify(yongHu));
	}else jieZhe();
}